package com.hoshiicloud.user.param.store;

import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
* <p>
* 修改店铺经营类目参数
* </p>
*
* @author zhangshuhu
* @since 2019-04-28
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="修改店铺经营类目", description="修改店铺经营类目")
public class StoreGoodsCategoryUpdateParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
    * 主键ID
    */
    @ApiParam(required = true)
    @ApiModelProperty(value = "主键ID")
    @NotNull(message = "店铺经营类目id不能为空")
    private Long id;


    /**
    * 店铺ID
    */
    @ApiModelProperty(value = "店铺ID")
    @NotNull(message = "店铺ID不能为空")
    private Long storeId;

    /**
    * 商品类目
    */
    @ApiModelProperty(value = "商品类目")
    @NotNull(message = "商品类目ID不能为空")
    private Long categoryId;

    /**
    * 权重
    */
    @ApiModelProperty(value = "权重")
    private Integer weight;

    /**
    * 排序
    */
    @ApiModelProperty(value = "排序")
    private Long ordered;

    /**
    * 是否可用（0-否 1-是）
    */
    @ApiModelProperty(value = "是否可用（0-否 1-是）")
    private Integer enabled;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String updatedBy;

}
